//
//  zzqTabBar.h
//  zzqKanBoKe
//
//  Created by ben on 17/2/2.
//  Copyright © 2017年 张增强. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, ZZQItemType) {
    ZZQItemTypeLaunch = 10,
    ZZQItemTypeLive = 100,//直播
    ZZQItemTypeMe, //我的
};

@class zzqTabBar ;

typedef void(^TabBlock)(zzqTabBar * tabBar, ZZQItemType idx);

@protocol zzqTabBarDelegate <NSObject>

- (void)zzqTabBar:(zzqTabBar *)tabBar clickButton:(ZZQItemType)idx;

@end

@interface zzqTabBar : UIView

@property(nonatomic, weak)id<zzqTabBarDelegate> delegate;

@property(nonatomic, copy)TabBlock block;

@end
